<h1>Архивы базы данных</h1>
<p>
<form action="" method="post">
<input type="submit" name="ev_create" value="Создать архив"/>
{{? backups}}
<table>
<tr>
	<th>Имя</th>
	<th>Размер</th>
	<th></th>
	<th></th>
</tr>
{{!for backups do=@:backup}}{{:backup}}
<tr>
	<td style="padding-right:20px">{{*filename}}</td>
	<td>{{*size | formatfilesize}}</td>
	<td>
		<input id="del{{For.num}}" type="checkbox" name="del[]" value="{{*filename}}"/>
		<label for="del{{For.num}}">удалить</label>
	</td>
	<td>
		<input id="restore{{For.num}}" type="radio" name="restore" value="{{*filename}}"/>
		<label for="restore{{For.num}}">восстановить</label>
	</td>
</tr>
{{/:backup}}
<tr><td></td><td></td><td><input type="submit" name="ev_delete" value="Удалить"/></td>
	<td><input type="submit" name="ev_restore" value="Восстановить"/></td>
</tr>
</table>
{{/?}}
</form>
</p>
